﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020002FF RID: 767
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ClientUploadData : IMessage<ClientUploadData>, IMessage, IEquatable<ClientUploadData>, IDeepCloneable<ClientUploadData>, IBufferMessage
	{
		// Token: 0x170009EB RID: 2539
		// (get) Token: 0x06002250 RID: 8784 RVA: 0x00060E68 File Offset: 0x0005F068
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ClientUploadData> Parser
		{
			get
			{
				return ClientUploadData._parser;
			}
		}

		// Token: 0x170009EC RID: 2540
		// (get) Token: 0x06002251 RID: 8785 RVA: 0x00060E6F File Offset: 0x0005F06F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ClientUploadDataReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170009ED RID: 2541
		// (get) Token: 0x06002252 RID: 8786 RVA: 0x00060E81 File Offset: 0x0005F081
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ClientUploadData.Descriptor;
			}
		}

		// Token: 0x06002253 RID: 8787 RVA: 0x00060E88 File Offset: 0x0005F088
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClientUploadData()
		{
		}

		// Token: 0x06002254 RID: 8788 RVA: 0x00060EA6 File Offset: 0x0005F0A6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClientUploadData(ClientUploadData other) : this()
		{
			this.pOHDDLDNJDE_ = other.pOHDDLDNJDE_;
			this.value_ = other.value_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06002255 RID: 8789 RVA: 0x00060ED7 File Offset: 0x0005F0D7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClientUploadData Clone()
		{
			return new ClientUploadData(this);
		}

		// Token: 0x170009EE RID: 2542
		// (get) Token: 0x06002256 RID: 8790 RVA: 0x00060EDF File Offset: 0x0005F0DF
		// (set) Token: 0x06002257 RID: 8791 RVA: 0x00060EE7 File Offset: 0x0005F0E7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public string POHDDLDNJDE
		{
			get
			{
				return this.pOHDDLDNJDE_;
			}
			set
			{
				this.pOHDDLDNJDE_ = ProtoPreconditions.CheckNotNull<string>(value, "value");
			}
		}

		// Token: 0x170009EF RID: 2543
		// (get) Token: 0x06002258 RID: 8792 RVA: 0x00060EFA File Offset: 0x0005F0FA
		// (set) Token: 0x06002259 RID: 8793 RVA: 0x00060F02 File Offset: 0x0005F102
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public string Value
		{
			get
			{
				return this.value_;
			}
			set
			{
				this.value_ = ProtoPreconditions.CheckNotNull<string>(value, "value");
			}
		}

		// Token: 0x0600225A RID: 8794 RVA: 0x00060F15 File Offset: 0x0005F115
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ClientUploadData);
		}

		// Token: 0x0600225B RID: 8795 RVA: 0x00060F24 File Offset: 0x0005F124
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ClientUploadData other)
		{
			return other != null && (other == this || (!(this.POHDDLDNJDE != other.POHDDLDNJDE) && !(this.Value != other.Value) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600225C RID: 8796 RVA: 0x00060F78 File Offset: 0x0005F178
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.POHDDLDNJDE.Length != 0)
			{
				num ^= this.POHDDLDNJDE.GetHashCode();
			}
			if (this.Value.Length != 0)
			{
				num ^= this.Value.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600225D RID: 8797 RVA: 0x00060FD4 File Offset: 0x0005F1D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600225E RID: 8798 RVA: 0x00060FDC File Offset: 0x0005F1DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600225F RID: 8799 RVA: 0x00060FE8 File Offset: 0x0005F1E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.POHDDLDNJDE.Length != 0)
			{
				output.WriteRawTag(10);
				output.WriteString(this.POHDDLDNJDE);
			}
			if (this.Value.Length != 0)
			{
				output.WriteRawTag(18);
				output.WriteString(this.Value);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06002260 RID: 8800 RVA: 0x0006104C File Offset: 0x0005F24C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.POHDDLDNJDE.Length != 0)
			{
				num += 1 + CodedOutputStream.ComputeStringSize(this.POHDDLDNJDE);
			}
			if (this.Value.Length != 0)
			{
				num += 1 + CodedOutputStream.ComputeStringSize(this.Value);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06002261 RID: 8801 RVA: 0x000610AC File Offset: 0x0005F2AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ClientUploadData other)
		{
			if (other == null)
			{
				return;
			}
			if (other.POHDDLDNJDE.Length != 0)
			{
				this.POHDDLDNJDE = other.POHDDLDNJDE;
			}
			if (other.Value.Length != 0)
			{
				this.Value = other.Value;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06002262 RID: 8802 RVA: 0x00061106 File Offset: 0x0005F306
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06002263 RID: 8803 RVA: 0x00061110 File Offset: 0x0005F310
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 10U)
				{
					if (num != 18U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Value = input.ReadString();
					}
				}
				else
				{
					this.POHDDLDNJDE = input.ReadString();
				}
			}
		}

		// Token: 0x04000DF7 RID: 3575
		private static readonly MessageParser<ClientUploadData> _parser = new MessageParser<ClientUploadData>(() => new ClientUploadData());

		// Token: 0x04000DF8 RID: 3576
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000DF9 RID: 3577
		public const int POHDDLDNJDEFieldNumber = 1;

		// Token: 0x04000DFA RID: 3578
		private string pOHDDLDNJDE_ = "";

		// Token: 0x04000DFB RID: 3579
		public const int ValueFieldNumber = 2;

		// Token: 0x04000DFC RID: 3580
		private string value_ = "";
	}
}
